Average sentence length |
---|
19.0563 |
sentence length | percentage |
---|---|
3 | 0.1900 |
4 | 0.7633 |
5 | 1.4333 |
6 | 2.0133 |
7 | 2.4833 |
8 | 3.0800 |
9 | 3.3733 |
10 | 3.7933 |
11 | 4.0900 |
12 | 4.2500 |
13 | 4.2567 |
14 | 4.9067 |
15 | 4.3433 |
16 | 4.3167 |
17 | 4.2700 |
18 | 4.0600 |
19 | 4.0300 |
20 | 3.8233 |
21 | 3.7400 |
22 | 3.6800 |
23 | 3.6000 |
24 | 3.1433 |
25 | 3.0500 |
26 | 2.9233 |
27 | 2.4933 |
28 | 2.3567 |
29 | 2.1933 |
30 | 2.0600 |
31 | 1.7933 |
32 | 1.6000 |
33 | 1.6600 |
34 | 1.3200 |
35 | 1.2633 |
36 | 0.9467 |
37 | 0.7600 |
38 | 0.4900 |
39 | 0.4567 |
40 | 0.3233 |
41 | 0.2400 |
42 | 0.1467 |
43 | 0.1367 |
44 | 0.0300 |
45 | 0.0433 |
46 | 0.0467 |
47 | 0.0200 |
48 | 0.0033 |
49 | 0.0033 |
Next we measure the length of a sentence by its number of words. Again, we are interested in average length and length distribution.
See above.
For simplicity, the number of words in a sentence is calculated as 1+(Number of blanks in the sentence).
Average length:
select avg(1+char_length(sentence)-char_length( replace(sentence," ",""))) from sentences;
Distribution:
SELECT @all:=count(*) from sentences;
select 1+char_length(sentence)-char_length( replace(sentence," ","")), 100*count(*)/@all from sentences where 50>=1+char_length(sentence)-char_length(replace(sentence," ",""))group by 1+char_length(sentence)-char_length( replace( sentence," ",""));
4.2.1 Length of sentences in characters